require "import"
import "android.net.wifi.WifiManager"
local bt= this.getSystemService(this.WIFI_SERVICE) 
if bt.isWifiEnabled() == true then
bt.setWifiEnabled(false)
this.speak(" the Wifi has been disabled ") 
elseif bt.isWifiEnabled() == false then
bt.setWifiEnabled(true)
this.speak(" the Wifi has been enabled ")
end
return true